python random

i had googled "python random" for several times , and i finalliy realized that i have to write it down .

random.random() # generate num , 0<= num <1.0 random.uiform(a,b) # if a<b : a<=num<=b ;else : b<=num<=a random.randint(a,b) # a < num <b